package com.qinyu.treehole.bo;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class CommentBo {
    private Integer userId;
    @NotNull
    @Min(0)
    private Integer feedId;
    @NotNull
    @Size(min = 1, max = 255)
    private String content;
}
